[INFO] cloning repository https://github.com/azdlowry/RustLangBorrowCheckerExamples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/azdlowry/RustLangBorrowCheckerExamples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89d70bccf8847470a4a5c3009a8a08481b6aa171
[INFO] checking azdlowry/RustLangBorrowCheckerExamples/89d70bccf8847470a4a5c3009a8a08481b6aa171 against master#b52edc25bfbaa955b4b83c10f998e5224c3478b2 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdlowry%2FRustLangBorrowCheckerExamples" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples
[INFO] finished tweaking git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples
[INFO] tweaked toml for git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples on toolchain b52edc25bfbaa955b4b83c10f998e5224c3478b2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/azdlowry/RustLangBorrowCheckerExamples already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f2f37d00a668147e97883ad7273b43b5975911cb1e39bd373a72cf807283899
[INFO] running `Command { std: "docker" "start" "-a" "4f2f37d00a668147e97883ad7273b43b5975911cb1e39bd373a72cf807283899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f2f37d00a668147e97883ad7273b43b5975911cb1e39bd373a72cf807283899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f2f37d00a668147e97883ad7273b43b5975911cb1e39bd373a72cf807283899", kill_on_drop: false }`
[INFO] [stdout] 4f2f37d00a668147e97883ad7273b43b5975911cb1e39bd373a72cf807283899
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5846f8561d1c3944e4b6b6751f21f31a7c06e969e5f32486af1b8d094ee0ce9a
[INFO] running `Command { std: "docker" "start" "-a" "5846f8561d1c3944e4b6b6751f21f31a7c06e969e5f32486af1b8d094ee0ce9a", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_lang_borrow_checker_examples v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/main.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  6 |         let x = vec![1, 2, 3];
[INFO] [stdout]    |             - binding `x` declared here
[INFO] [stdout]  7 |         y = &x;
[INFO] [stdout]    |             ^^ borrowed value does not live long enough
[INFO] [stdout]  8 |         println!("{:?}", x);
[INFO] [stdout]  9 |     }
[INFO] [stdout]    |     - `x` dropped here while still borrowed
[INFO] [stdout] 10 |     println!("{:?}", y);
[INFO] [stdout]    |                      - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_lang_borrow_checker_examples` (bin "rust_lang_borrow_checker_examples") due to 1 previous error
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout]   --> src/main.rs:7:13
[INFO] [stdout]    |
[INFO] [stdout]  6 |         let x = vec![1, 2, 3];
[INFO] [stdout]    |             - binding `x` declared here
[INFO] [stdout]  7 |         y = &x;
[INFO] [stdout]    |             ^^ borrowed value does not live long enough
[INFO] [stdout]  8 |         println!("{:?}", x);
[INFO] [stdout]  9 |     }
[INFO] [stdout]    |     - `x` dropped here while still borrowed
[INFO] [stdout] 10 |     println!("{:?}", y);
[INFO] [stdout]    |                      - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_lang_borrow_checker_examples` (bin "rust_lang_borrow_checker_examples" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "5846f8561d1c3944e4b6b6751f21f31a7c06e969e5f32486af1b8d094ee0ce9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5846f8561d1c3944e4b6b6751f21f31a7c06e969e5f32486af1b8d094ee0ce9a", kill_on_drop: false }`
[INFO] [stdout] 5846f8561d1c3944e4b6b6751f21f31a7c06e969e5f32486af1b8d094ee0ce9a
